 package com.zu.commu.auto1_0;
 
 import com.zu.commu.interf.meter.Driver;
import com.zu.commu.interf.meter.Request;

import java.util.ArrayList;
 
 public class DriverImp
   implements Driver
 {
   private static ArrayList gprsIds;
   private static DriverImp driver;
 
   public void setOnlyDriver()
   {
     if (driver == null)
       driver = this;
   }
 
   public boolean init(ArrayList gprsIds)
   {
     gprsIds = gprsIds;
     return true;
   }
 
   public Request getRequest()
   {
     return RequestFactoryImp.newInstance().createRequest();
   }
 
   public ArrayList getGPRSID()
   {
     return gprsIds;
   }
 }
